home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / inc / x11 / xaw / dialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  3.0 KB  |  89 lines

  1. /* $XConsortium: Dialog.h,v 1.20 89/11/12 14:02:57 kit Exp $ */
  2.  
  3.  
  4. /***********************************************************
  5. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  6. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  7.  
  8.                         All Rights Reserved
  9.  
  10. Permission to use, copy, modify, and distribute this software and its 
  11. documentation for any purpose and without fee is hereby granted, 
  12. provided that the above copyright notice appear in all copies and that
  13. both that copyright notice and this permission notice appear in 
  14. supporting documentation, and that the names of Digital or MIT not be
  15. used in advertising or publicity pertaining to distribution of the
  16. software without specific, written prior permission.  
  17.  
  18. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  19. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  20. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  21. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  22. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  23. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  24. SOFTWARE.
  25.  
  26. ******************************************************************/
  27.  
  28. #ifndef _Dialog_h
  29. #define _Dialog_h
  30.  
  31. #include <X11/Xaw/Form.h>
  32.  
  33. /***********************************************************************
  34.  *
  35.  * Dialog Widget
  36.  *
  37.  ***********************************************************************/
  38.  
  39. /* Parameters:
  40.  
  41.  Name             Class        RepType        Default Value
  42.  ----             -----        -------        -------------
  43.  background         Background        Pixel        XtDefaultBackground
  44.  border             BorderColor    Pixel        XtDefaultForeground
  45.  borderWidth         BorderWidth    Dimension    1
  46.  destroyCallback     Callback        Pointer        NULL
  47.  height             Height        Dimension    computed at create
  48.  icon             Icon        Pixmap        0
  49.  label             Label        String        NULL
  50.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  51.  sensitive         Sensitive        Boolean        True
  52.  value             Value        String        NULL
  53.  width             Width        Dimension    computed at create
  54.  x             Position        Position    0
  55.  y             Position        Position    0
  56.  
  57. */
  58.  
  59. #define XtCIcon "Icon"
  60.  
  61. #define XtNicon "icon"
  62.  
  63. typedef struct _DialogClassRec    *DialogWidgetClass;
  64. typedef struct _DialogRec    *DialogWidget;
  65.  
  66. extern WidgetClass dialogWidgetClass;
  67.  
  68. extern void XawDialogAddButton(); /* parent, name, function, param */
  69.     /* Widget parent; */
  70.     /* String name; */
  71.     /* XtCallback function; */
  72.     /* XtPointer param; */
  73.  
  74. extern char *XawDialogGetValueString(); /* w */
  75.     /* Widget w; */
  76.  
  77. #ifdef XAW_BC
  78. /*************************************************************
  79.  * For Compatibility only.                                   */
  80.  
  81. #define XtDialogGetValueString           XawDialogGetValueString
  82. #define XtDialogAddButton                XawDialogAddButton
  83.  
  84. /*************************************************************/
  85. #endif /* XAW_BC */
  86.  
  87. #endif /* _Dialog_h */
  88. /* DON'T ADD STUFF AFTER THIS #endif */
  89.